<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Resume extends Model
{
    protected $fillable = [
        'name',
        'gender',
        'email',
        'birthday',
        'mobile',
        'residence',
        'education',
        'begin_word_at',
        'work_status',
        'marital_status'
    ];
    // 软删除
    protected $dates = ['delete_at'];

    public function findById($id)
    {
        return $this->findOrFail($id);
    }
}
